import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;

/**
 * Created by jiao on 16/4/19.
 */
public class RunAction extends AnAction {

    @Override
    public void actionPerformed(AnActionEvent e) {
        // TODO: insert action logic here
        Application application = ApplicationManager.getApplication();
        RunComponent component = application.getComponent(RunComponent.class);
        component.run("胡巴", "蘑菇街蘑菇街蘑菇街");
    }
}
